cross — Vector cross product


\begin{rail}
Cross : 'cross' '(' Matrix ',' Matrix ')' ;
\end{rail}
cross calculates the vector cross product of the two argument matrices. Both arguments must have three elements, though they need not be organised the same way. The result of the cross product is returned as a 1x3 matrix. $\Longrightarrow$ This is not an built-in function. This function is normally loaded on start-up from the cross.r file in the standard rlib directory. Use of the -r option, incorrectly setting the RLAB_LIB_DIR environmental variable, or modifying cross.r may make this function unavailable.

Subsections